package cn.seocoo.platform.top.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.seocoo.platform.common.core.domain.BaseEntity;

/**
 * 置顶类型表 tb_top_type
 * 
 * @author wujian
 * @date 2019-12-26
 */
public class TopType extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 类型名称 */
	private String typeName;
	/** 类型价格 */
	private Integer typeAmount;
	/** 状态（0:正常;1:删除) */
	private String delFlag;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setTypeName(String typeName) 
	{
		this.typeName = typeName;
	}

	public String getTypeName() 
	{
		return typeName;
	}
	public void setTypeAmount(Integer typeAmount) 
	{
		this.typeAmount = typeAmount;
	}

	public Integer getTypeAmount() 
	{
		return typeAmount;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("typeAmount", getTypeAmount())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
